Optimal. Leaf size=70 \[ \frac {(4 a+3 b) \tan ^{-1}(\sinh (c+d x))}{8 d}+\frac {(4 a+3 b) \tanh (c+d x) \text {sech}(c+d x)}{8 d}+\frac {b \tanh (c+d x) \text {sech}^3(c+d x)}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {4046, 3768, 3770} \[ \frac {(4 a+3 b) \tan ^{-1}(\sinh (c+d x))}{8 d}+\frac {(4 a+3 b) \tanh (c+d x) \text {sech}(c+d x)}{8 d}+\frac {b \tanh (c+d x) \text {sech}^3(c+d x)}{4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3768
Rule 3770
Rule 4046
Rubi steps
\begin {align*} \int \text {sech}^3(c+d x) \left (a+b \text {sech}^2(c+d x)\right ) \, dx &=\frac {b \text {sech}^3(c+d x) \tanh (c+d x)}{4 d}+\frac {1}{4} (4 a+3 b) \int \text {sech}^3(c+d x) \, dx\\ &=\frac {(4 a+3 b) \text {sech}(c+d x) \tanh (c+d x)}{8 d}+\frac {b \text {sech}^3(c+d x) \tanh (c+d x)}{4 d}+\frac {1}{8} (4 a+3 b) \int \text {sech}(c+d x) \, dx\\ &=\frac {(4 a+3 b) \tan ^{-1}(\sinh (c+d x))}{8 d}+\frac {(4 a+3 b) \text {sech}(c+d x) \tanh (c+d x)}{8 d}+\frac {b \text {sech}^3(c+d x) \tanh (c+d x)}{4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 60, normalized size = 0.86 \[ \frac {(4 a+3 b) \tan ^{-1}(\sinh (c+d x))+(4 a+3 b) \tanh (c+d x) \text {sech}(c+d x)+2 b \tanh (c+d x) \text {sech}^3(c+d x)}{8 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.42, size = 1112, normalized size = 15.89 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.16, size = 156, normalized size = 2.23 \[ \frac {{\left (\pi + 2 \, \arctan \left (\frac {1}{2} \, {\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )} e^{\left (-d x - c\right )}\right )\right )} {\left (4 \, a + 3 \, b\right )} + \frac {4 \, {\left (4 \, a {\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{3} + 3 \, b {\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{3} + 16 \, a {\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} + 20 \, b {\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}\right )}}{{\left ({\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{2} + 4\right )}^{2}}}{16 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.42, size = 83, normalized size = 1.19 \[ \frac {a \,\mathrm {sech}\left (d x +c \right ) \tanh \left (d x +c \right )}{2 d}+\frac {a \arctan \left ({\mathrm e}^{d x +c}\right )}{d}+\frac {b \mathrm {sech}\left (d x +c \right )^{3} \tanh \left (d x +c \right )}{4 d}+\frac {3 b \,\mathrm {sech}\left (d x +c \right ) \tanh \left (d x +c \right )}{8 d}+\frac {3 b \arctan \left ({\mathrm e}^{d x +c}\right )}{4 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.41, size = 184, normalized size = 2.63 \[ -\frac {1}{4} \, b {\left (\frac {3 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac {3 \, e^{\left (-d x - c\right )} + 11 \, e^{\left (-3 \, d x - 3 \, c\right )} - 11 \, e^{\left (-5 \, d x - 5 \, c\right )} - 3 \, e^{\left (-7 \, d x - 7 \, c\right )}}{d {\left (4 \, e^{\left (-2 \, d x - 2 \, c\right )} + 6 \, e^{\left (-4 \, d x - 4 \, c\right )} + 4 \, e^{\left (-6 \, d x - 6 \, c\right )} + e^{\left (-8 \, d x - 8 \, c\right )} + 1\right )}}\right )} - a {\left (\frac {\arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac {e^{\left (-d x - c\right )} - e^{\left (-3 \, d x - 3 \, c\right )}}{d {\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} + e^{\left (-4 \, d x - 4 \, c\right )} + 1\right )}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.38, size = 283, normalized size = 4.04 \[ \frac {\mathrm {atan}\left (\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\,\left (4\,a\,\sqrt {d^2}+3\,b\,\sqrt {d^2}\right )}{d\,\sqrt {16\,a^2+24\,a\,b+9\,b^2}}\right )\,\sqrt {16\,a^2+24\,a\,b+9\,b^2}}{4\,\sqrt {d^2}}-\frac {\frac {a\,{\mathrm {e}}^{5\,c+5\,d\,x}}{d}+\frac {2\,{\mathrm {e}}^{3\,c+3\,d\,x}\,\left (a+2\,b\right )}{d}+\frac {a\,{\mathrm {e}}^{c+d\,x}}{d}}{4\,{\mathrm {e}}^{2\,c+2\,d\,x}+6\,{\mathrm {e}}^{4\,c+4\,d\,x}+4\,{\mathrm {e}}^{6\,c+6\,d\,x}+{\mathrm {e}}^{8\,c+8\,d\,x}+1}-\frac {{\mathrm {e}}^{c+d\,x}\,\left (2\,a-b\right )}{2\,d\,\left (2\,{\mathrm {e}}^{2\,c+2\,d\,x}+{\mathrm {e}}^{4\,c+4\,d\,x}+1\right )}-\frac {2\,b\,{\mathrm {e}}^{c+d\,x}}{d\,\left (3\,{\mathrm {e}}^{2\,c+2\,d\,x}+3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}+1\right )}+\frac {{\mathrm {e}}^{c+d\,x}\,\left (4\,a+3\,b\right )}{4\,d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \operatorname {sech}^{2}{\left (c + d x \right )}\right ) \operatorname {sech}^{3}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________